package mybox.engine.csv;

import java.util.ArrayList;
import java.io.*;


public class Data2File {

	public static void write(			            
						String fileAbsoluteName,						
						ArrayList<String> data
			) throws IOException {
		
		File file = new File(fileAbsoluteName);
		PrintWriter csvOut = new PrintWriter(new FileWriter(file));		
		for (String token : data) {
			csvOut.println(token);
		}
		csvOut.close();
	}
}
